<template>
  <div class="headtop">
    <p style="font-size: 24px;">{{ title }}</p>
    <div class="buttons">
      <slot></slot>
    </div>
  </div>
</template>
<script setup lang="ts">
const props = withDefaults(
  defineProps<{
    title: string;
  }>(),
  {
    title: '',
  }
);
</script>

<style lang="less" scoped>
.headtop {
  height: 50px;
  line-height: 50px;
  margin: 0 20px;
  display: flex;
  justify-content: space-between;
}
</style>
